import Vue from 'vue'
import App from './App.vue'
import './plugins/element.js'
import router from './router'
import axios from 'axios'

Vue.config.productionTip = false
//配置基础地址
axios.defaults.baseURL = 'http://127.0.0.1:8086/'
//把axios挂在到vue的原型上去
Vue.prototype.$http = axios

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')


